package com.example.transaction.sys.mapper;

import com.example.transaction.sys.entity.Item;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zh
 * @since 2023-06-20
 */
@Mapper
public interface ItemMapper extends BaseMapper<Item> {

    List<Integer> getItemIdsByUserIds(@Param("userIds") List<Integer> userIds);
}
